package com.dzm.xgb.sms.client.impl;

import com.dzm.common.result.R;
import com.dzm.xgb.sms.client.UserInfoClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 作者：Dzm
 * 时间：2024-09-04-9:38
 * 功能：
 */

@Component
public class UserInfoFallback implements UserInfoClient {

    @Override
    public R checkPhone(String phoneNumber) {

        return R.error().message("core服务已关闭");
    }
}
